﻿// CCObject.cpp

#include "CCObject.h"

NS_CC_BEGIN

CCObject::CCObject(void)
:m_uReference(1)
,m_uAutoReleaseCount(0)
{
	/**
	 *	实例对象的计数器
	 *
	 *	@warning	静态UINT类型，此值只会增长，不会减少，保证唯一。
	 */
	static unsigned int uObjectCount = 0;

	//!	实例对象unique id设为1
	m_uID = ++uObjectCount;
}

CCObject::~CCObject(void)
{
}

NS_CC_END